<template>
  <el-card class="box-card">
    <template #header>
      <div class="card-header">
        <span>Card name</span>
        <el-button class="button" text>Operation button</el-button>
      </div>
    </template>
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="id" label="id" width="180" />
      <el-table-column prop="username" label="username" width="180" />
      <el-table-column prop="password" label="password" />
    </el-table>
  </el-card>
</template>

<script setup>
import { ref, reactive, onMounted} from "vue";
import {getAllUser} from "@/api/user";

const tableData =ref({})

onMounted(()=>{
  getAllUser()
})
</script>

<style scoped>

</style>